ShellUtils

Members

Static functions

shellErrorQuark
GQuark shellErrorQuark()
shellParseArgv
bool shellParseArgv(string commandLine, string[] argvp)

Parses a command line into an argument vector, in much the same way the shell would, but without many of the expansions the shell would perform (variable expansion, globs, operators, filename expansion, etc. are not supported).

shellQuote
string shellQuote(string unquotedString)

Quotes a string so that the shell (/bin/sh) will interpret the quoted string to mean @unquoted_string.

shellUnquote
string shellUnquote(string quotedString)

Unquotes a string as the shell (/bin/sh) would.

Meta